go = print("введите скобочную последовательность:")
go = input()
go = go.replace(' ','')
while '()' in go or '[]'in go or '{}' in go or '<>' in go or '.' in go or '?' in go or ',' in go:
        go = go.replace('()','').replace('[]','').replace(',','').replace('?','').replace('.','').replace('{}','').replace('<>','')
if len(go) !=0:
    print('False')
else:
    print('True'
('.','').replace
